翻訳と辞書
Words near each other
・ Comparison of open-source operating systems
・ Comparison of open-source programming language licensing
・ Comparison of open-source wireless drivers
・ Comparison of OpenDocument software
・ Comparison of OpenGL and Direct3D
・ Comparison of OpenXPS and PDF
・ Comparison of operating system kernels
・ Comparison of operating systems
・ Comparison of optical character recognition software
・ Comparison of optimization software
・ Comparison of orbital launch systems
・ Comparison of orbital launchers families
・ Comparison of orbital rocket engines
・ Comparison of packet analyzers
・ Comparison of parser generators
Comparison of Pascal and C
・ Comparison of Pascal and Delphi
・ Comparison of password managers
・ Comparison of past and present administrative divisions of Japan
・ Comparison of photo gallery software
・ Comparison of photo stitching software
・ Comparison of photogrammetry software
・ Comparison of platform virtualization software
・ Comparison of popular optical data-storage systems
・ Comparison of portable media players
・ Comparison of Portuguese and Spanish
・ Comparison of power management software suites
・ Comparison of privilege authorization features
・ Comparison of programming languages
・ Comparison of programming languages (array)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Comparison of Pascal and C : ウィキペディア英語版
Comparison of Pascal and C

The computer programming languages C and Pascal have similar times of origin, influences, and purposes. Both were used to design (and compile) their own compilers early in their lifetimes. The original Pascal definition appeared in 1969 and a first compiler in 1970. The first version of C appeared in 1972.
Both are descendants of the ALGOL language series. ALGOL introduced programming language support for structured programming, where programs are constructed of single entry and single exit constructs such as if, while, for and case. Pascal stems directly from ALGOL W, while it shared some new ideas with ALGOL 68. The C language is more indirectly related to ALGOL, originally through B, BCPL, and CPL, and later through ALGOL 68 (for example in case of struct and union) and also Pascal (for example in case of enumerations, const, typedef and booleans). Some Pascal dialects also incorporated traits from C.
What is documented here is the Pascal of Niklaus Wirth, as standardized as ISO 7185 in 1982. The C documented is the language of Brian Kernighan and Dennis Ritchie, as standardized in 1989. The reason is that these versions both represent the mature version of the language, and also because they are comparatively close in time. ANSI C and C99 (the later C standards) features, and features of later implementations of Pascal (Turbo Pascal, Free Pascal) are not included in the comparison, despite the improvements in robustness and functionality that they conferred.
== Syntax ==

Syntactically, Pascal is much more ALGOL-like than C. English keywords are retained where C uses punctuation symbols – Pascal has and, or, and mod where C uses &&, ||, and % for example. However, C is actually more ALGOL-like than Pascal regarding (simple) declarations, retaining the ''type-name'' ''variable-name'' syntax. For example, C can accept declarations at the start of any block, not just the outer block of a function.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Comparison of Pascal and C」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.